package com.andengine.editor;

import java.util.HashMap;
import java.util.Map;

/**
 * @author sad
 */
public class Properties {

    public static String TEXTURE_PATH = "TEXT_PATH";
    private final Map<String, String> properties = new HashMap<String, String>();
    private static final Properties instance = new Properties();

    private Properties() {
        properties.put(TEXTURE_PATH, "c:\\Users\\sad\\IdeaProjects\\AndEngineExample\\assets\\gfx\\");
    }

    public static Properties get() {
        return instance;
    }

    public String getProperty(String key) {
        return properties.get(key);
    }

    public Properties setProperty(String key, String value) {
        properties.put(key, value);
        return this;
    }

}
